package com.kalvan.job.annotation;

import com.kalvan.job.config.JobParserAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * ElasticJob 开启注解
 *
 * @author chenliang
 * <p>
 * 在Spring Boot 启动类上加此注解开启自动配置
 * <p>
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({JobParserAutoConfiguration.class})
public @interface EnableElasticJob {

}